package com.example.demoshardingmybatis.mapper;

import com.example.demoshardingmybatis.entity.Order;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author hulei
 * @version 1.0
 * @date 2022-01-10 9:08
 * @target
 */
@Mapper
public interface OrderMapper {

    List<Order> list();

    List<Order> getByOrderId(Long orderId);

}
